<template>

  <div class="container">
    <div class="addInfo">
      <div class="addTitle">始发地</div>
      <input type="text" placeholder="省份、区、县">
      <input type="text" placeholder="街道地址">
    </div>
    <div class="addInfo">
      <div class="addTitle">目的地</div>
      <input type="text" placeholder="省份、区、县">
      <input type="text" placeholder="街道地址">
    </div>
    <div class="addInfo">
      <div class="addTitle">名称</div>
      <input type="text" placeholder="编写名称，方便区分，如：汉城湖线路">
    </div>
    <div class="addBnt">保存</div>
  </div>
</template>

<script>
export default {
  data () {
  },
  onLoad () {
    wx.setNavigationBarTitle({
      title: '新增线路'
    })
  }
}
</script>

<style scoped>
  .addInfo{
    width: 100%;
    padding-left: 30rpx;
    margin-bottom: 78rpx;
  }
  .addInfo:nth-child(1){
    margin-top: 30rpx;
  }
  .addTitle{
    color: #f24443;
    line-height: 88rpx;
    border-bottom: 1rpx solid #eee;
  }
  .addInfo input{
    width: 100%;
    display: inline-block;
    line-height: 88rpx;
    height: 88rpx;
    border-bottom: 1rpx solid #eee;
  }
  .addBnt{
    width: 140rpx;
    line-height: 50rpx;
    text-align: center;
    border-radius: 45rpx;
    border: 1rpx solid #f5483a;
    color: #f5483a;
  }
</style>
